package com.atstudent.gmall.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Dexcription
 * @Author 薛有朋
 * @Date 2024/11/15 12:13
 * 一级分类表
 *  * @TableName base_category1
 **/
@TableName("base_category1")
@Data
public class BaseCategory1 {

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField(value = "name")
    private String name;
}
